package andrei.mower2.io.exceptions;

import andrei.mower2.main.i18n.MessageUtils;

@SuppressWarnings("serial")
public class UnparsableCharacterException extends UnparsableLineException {

	public UnparsableCharacterException(long lineNumber, long characterNumber, String message, Throwable cause) {
		super(lineNumber, MessageUtils.getMessage("warn.io.unparsableCharacter", characterNumber) + ": "+message , cause);
	}
	
	public UnparsableCharacterException(long lineNumber, long characterNumber, String message) {
		super(lineNumber, MessageUtils.getMessage("warn.io.unparsableCharacter", characterNumber) + ": "+message);
	}
}
